Modify CR0 access emulation -- return physical CR0 (except
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 23 Dec 2005 15:42:46 +0000 (16:42 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 23 Dec 2005 15:42:46 +0000 (16:42 +0100)
commitf0010ba27fa5f5f18d051cd427c8a361f3c07cd1
tree36c4753eb9bca5ea8b123a247361514ef83c7ed5
parentefec87263e4c972c6d475595243d3ec4c5eaa455
Modify CR0 access emulation -- return physical CR0 (except
for TS) and allow only the same physical flags to be written
back to CR0 by a guest.

Add write-to-CR4 emulation, but check that the write does not
modify any CR4 flags.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/traps.c